<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
 <head>
 <title>学科管理系统
 </title>   
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
	%>
<base href="<%=basePath%>">

<s:include value="../common/source.jsp">
</s:include>	
</head>
<body>
  <script type="text/javascript">		
	var message = '<s:property value="flag" />';
	  if(message!=null&&message!="")
	 {
	   		if(message=="success") {
	   		alert("修改成功!");
	   		} else {
	   		alert("修改失败！");
	   		}
	   		window.location.href =  "<%=basePath%>/leader/DirectInformationAction.action";	   		
	   }
		
		</script>
<!-- 学科信息开始 -->
<div class="body">
 <div class="content ui-sortable">
          <div class="list">
         研究方向信息
          	 </div>
          	 </div>
          	 <br/> 
          	  <br/> 
          	   <hr style="background-color:#cfe1f9;height:1px;"/>
	<form class="sui-form form-horizontal sui-validate" 
			action="leader/UpdateDirectInformationAction" 
			method="post" 
			enctype="multipart/form-data">
		<table class="sui-table table-vzebra table0" >
			<tbody>
				<tr>
					<td>研究方向名称
					</td>
					<td> <s:property value="name"/></td>
                </tr>
                <tr>
                	<td>所属学科</td>
                    <td> <s:property value="subject"/>  
                    </td>
                 </tr>
                 <tr>
                 	<td>方向负责人
                 	</td>
                 	<td><s:property value="leader"/>
                 	</td>
                 </tr>
                 <tr>
                     <td>邮箱
                     </td>
                     <td><input type="text" 
                     			id="inputEmail" 
                     			value="<s:property value="email"/>" 
                     			name="directmailbox" 
                     			class="input-large" 
                     			data-rules="required|email">
                     </td>
                 </tr>
                 <tr>
                     <td>主要研究方向和研究水平
                     </td>
                     <td><textarea rows="8" class="tex1" name="directintroduction" data-rules="required"><s:property value="introduction"/></textarea>
                     </td>
                 </tr>
                 <tr>
                     <td>备注
                     </td>
                     <td> <textarea rows="8" class="tex1" name="directremarks" data-rules="required"><s:property value="remarks"/></textarea>
                     </td>
                 </tr>                       
			</tbody>
		</table>
<div class="control-group button3">
	<label class="control-label v-top">
	</label>
	<div class="controls">
		<button type="submit" 
				class="sui-btn btn-primary">提交
		</button>
	</div>
</div>	  
</form>
</div>
<!-- 学科信息结束 -->      
</body>
</html>
